Each Rhythm template points to a name and list of notes. struct Rhythm { struct Rhythm *next; /* Next in list of templates. */ struct String *name; /* Name of this rhythm. */ struct NoteEvent *notes; /* List of notes. */ long length; /* Loop length. */ short id; /* Identifier. */ };